package com.example.freeengine.filetranslate.fragment;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class ResponseMessage {

    int type;

    String content;

    public static class Builder {
        int type;
        String content;

        public Builder setType(int type){
            this.type = type;
            return this;
        }

        public Builder setContent(String content){
            this.content = content;
            return this;
        }

        public ResponseMessage build(){
            return new ResponseMessage(type, content);
        }

    }

}
